package net.anzhuo.service;

import java.util.List;
import net.anzhuo.common.entity.PaginationVO;
import net.anzhuo.entity.GsBase;
import net.anzhuo.entity.db.seniorsearch.GsParam;

public interface GsBaseService {

	public GsBase getById(Long id);
	public GsBase getByName(String name);
	public List<GsBase> getByNameList(String name);
	public GsBase getByCreditCode(String creditCode);
	public List<GsBase> getByCreditCodeList(String creditCode);
	public GsBase getByMd5(String md5);
	public PaginationVO<GsBase> getListWithPage(GsBase gsBase);
	public List<GsBase> getList();
	public List<GsBase> getList(GsParam gsBase);
	public void update(GsBase gsBase);
	public void save(GsBase gsBase);
	public void delete(Long id);
}
